package com.ldk.framework.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.ldk.base.framework.entity.BaseEntity;
import org.codehaus.jackson.annotate.JsonIgnore;

/**
 * User实体类
 *
 * @author mqy
 */
public class User extends BaseEntity {

    private static final long serialVersionUID = 2665546279046133380L;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户名称（手机号）
     */
    private String phoneNo;
    /**
     * Token
     */
    private String token;
    /**
     * 登录时间
     */
    @JSONField(serialize = false)
    private Long loginTime;
    /**
     * 用户等级
     */
    private java.lang.Integer userRank;
    /**
     * 用户昵称
     */
    private String nickName;
    /**
     * 用户使用的客户端信息
     */
    private String clientInfo;
    /**
     * 默认地址
     */
    private String address;
    /**
     * 用户状态1登录2退出
     */
    @JSONField(serialize = false)
    private java.lang.Integer status;
    /**
     * 余额
     */
    private Double balance;
    /**
     * 注册时间
     */
    private Long registerTime;
    /**
     * 头像图片URL地址
     */
    private String picture;
    /**
     * 签名
     */
    private String remark;
    /**
     *
     */
    @JSONField(serialize = false)
    private String salt;
    /**
     *
     */
    @JSONField(serialize = false)
    private String password;
    /**
     * 用户开发ID
     */
    private String openId;
    /**
     * 用户当前位置经度
     */
    private Double lon;
    /**
     * 用户当前位置纬度
     */
    private Double lat;
    /**
     * 取消专线拼车次数
     */
    @JSONField(serialize = false)
    private Long cancelZxpcTimes;
    /**
     * 取消包车次数
     */
    @JSONField(serialize = false)
    private Long cancelBcTimes;
    /**
     * 取消快车次数
     */
    @JSONField(serialize = false)
    private Long cancelKcTimes;
    /**
     * 取消顺风车次数
     */
    @JSONField(serialize = false)
    private Long cancelSfcTimes;
    /**
     * 支付密码
     */
    @JSONField(serialize = false)
    private String payPwd;
    /**
     * 是否启用
     */
    @JSONField(serialize = false)
    private Boolean enabled;
    /**
     * 优惠卷总额
     */
    private java.lang.Double coupon;
    /**
     * 乘客固定ID
     */
    private java.lang.Long uCommonId;
    /**
     * 推荐人固定ID
     */
    private java.lang.Long rCommonId;

    /**
     * 是否更新
     */
    private java.lang.Integer uploadFlag;

    /**
     * 管理员地区关键字搜索
     */
    @JSONField(serialize = false)
    @JsonIgnore
    private String searchAreaKey;

    public Integer getUploadFlag() {
        return uploadFlag;
    }

    public void setUploadFlag(Integer uploadFlag) {
        this.uploadFlag = uploadFlag;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Long loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getUserRank() {
        return userRank;
    }

    public void setUserRank(Integer userRank) {
        this.userRank = userRank;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getClientInfo() {
        return clientInfo;
    }

    public void setClientInfo(String clientInfo) {
        this.clientInfo = clientInfo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Long getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Long registerTime) {
        this.registerTime = registerTime;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Double getLon() {
        return lon;
    }

    public void setLon(Double lon) {
        this.lon = lon;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Long getCancelZxpcTimes() {
        return cancelZxpcTimes;
    }

    public void setCancelZxpcTimes(Long cancelZxpcTimes) {
        this.cancelZxpcTimes = cancelZxpcTimes;
    }

    public Long getCancelBcTimes() {
        return cancelBcTimes;
    }

    public void setCancelBcTimes(Long cancelBcTimes) {
        this.cancelBcTimes = cancelBcTimes;
    }

    public Long getCancelKcTimes() {
        return cancelKcTimes;
    }

    public void setCancelKcTimes(Long cancelKcTimes) {
        this.cancelKcTimes = cancelKcTimes;
    }

    public Long getCancelSfcTimes() {
        return cancelSfcTimes;
    }

    public void setCancelSfcTimes(Long cancelSfcTimes) {
        this.cancelSfcTimes = cancelSfcTimes;
    }

    public String getPayPwd() {
        return payPwd;
    }

    public void setPayPwd(String payPwd) {
        this.payPwd = payPwd;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Double getCoupon() {
        return coupon;
    }

    public void setCoupon(Double coupon) {
        this.coupon = coupon;
    }

    public Long getuCommonId() {
        return uCommonId;
    }

    public void setuCommonId(Long uCommonId) {
        this.uCommonId = uCommonId;
    }

    public Long getrCommonId() {
        return rCommonId;
    }

    public void setrCommonId(Long rCommonId) {
        this.rCommonId = rCommonId;
    }

    public String getSearchAreaKey() {
        return searchAreaKey;
    }

    public void setSearchAreaKey(String searchAreaKey) {
        this.searchAreaKey = searchAreaKey;
    }
}
